﻿using Biotech.Log;

namespace project.B12.Model.Error
{
    public class ErrCodeModel
    {
        /// <summary>
        /// 故障代号
        /// </summary>
        public object? ErrCode { get; set; }
        public object? ex { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime DateTime { get; set; }

        /// <summary>
        /// 故障名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 级别
        /// </summary>
        public LogType Type { get; set; }

        /// <summary>
        /// 故障信息
        /// </summary>
        public string? Message { get; set; }

        /// <summary>
        /// 故障信息参数
        /// </summary>
        public string? ArgsString { get; set; }

        /// <summary>
        /// 故障模块
        /// </summary>
        public string? Module { get; set; }

        /// <summary>
        /// 故障原因
        /// </summary>
        public string? Reason { get; set; }

        /// <summary>
        /// 解决方法
        /// </summary>
        public string? Solution { get; set; }

        /// <summary>
        /// 结果标志
        /// </summary>
        public string? ResultFlag { get; set; }
    }
}
